﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIE.SCADA.ZemtDemo.MqClient.Model
{
    //报工 序列号数据
    public class WorksndataItem
    {
        /// <summary>
        /// 产品序列号A1
        /// </summary>
        public string sn { get; set; }
    }

    public class WorkorderdatasItem
    {
        /// <summary>
        /// 派工单
        /// </summary>
        public string disid { get; set; }
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string pono { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string matid { get; set; }
        /// <summary>
        /// 空气过滤器-检修\A77338\I34853
        /// </summary>
        public string matdesc { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string workbatch { get; set; }
        /// <summary>
        /// 报工类型
        /// </summary>
        public string worktype { get; set; }
        /// <summary>
        /// 报工人员工号
        /// </summary>
        public string workerid { get; set; }
        /// <summary>
        /// 报工数量
        /// </summary>
        public string workqty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string laborhour { get; set; }
        /// <summary>
        /// 人工工时
        /// </summary>
        public string machinehour { get; set; }
        /// <summary>
        /// 工序
        /// </summary>
        public string workseq { get; set; }
        /// <summary>
        /// 工序说明：组装
        /// </summary>
        public string workseqdesc { get; set; }
        /// <summary>
        /// 工序组
        /// </summary>
        public string workseq_group { get; set; }
        /// <summary>
        /// 工序组描述：总组装工序组1
        /// </summary>
        public string workseq_groupdesc { get; set; }
        /// <summary>
        /// 报工 序列号数据
        /// </summary>
        public List<WorksndataItem> worksndata { get; set; }
    }

    public class PlanData
    {
        /// <summary>
        /// 
        /// </summary>
        public List<WorkorderdatasItem> workorderdatas { get; set; }
    }
}
